package com.small.admin.mapper;

import com.small.admin.entity.RoleAdmin;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 作者: fenny
 * 邮箱: 893146555@qq.com
 * 时间: 2017/10/17 16:28
 * 描述:
 */
public interface RoleAdminMapper extends Mapper<RoleAdmin> {
    List<Long> selectByAdminId(Long id);

    List<Long> selectAdminIdByRoleId(long roleId);

    List<Long> selectAdminIdByCidRoleId(@Param("courtId") Long courtId,@Param("roleIds") Integer[] roleIds);
}
